<h4 class="font-biru judul-singlepage">Our Portfolio</h4>
<div class="outer-nobg">
	<center><img src="<?php echo base_url();?>asset/images/news-arrow-previous.png" class="previous1" /></center>
	<div id="newsticker-demo">
     <ul>
		<?php
		if(isset($list_portofolio)){
		foreach($list_portofolio as $val){
			if($val['gambar']==""){
				$gambar="default.jpg";
			}else{
				$gambar=$val['gambar'];
			}
			$path_gambar=base_url()."foto_portofolio/thumbs/".$gambar;
		?>
       <li>
			<div class="news-sidebar">
				<div class="img-news-sidebar">
					<center>
						<img src="<?php echo $path_gambar;?>">
					</center>
				</div>
				<div class="kanan-img-news-sidebar">
					<h4><a href="<?php echo site_url('portofolio/'.$val['slug']);?>"><?php echo $val['judul']?></a></h4>
				</div>
			</div>
       </li>
	   <?php
		}
		}
		?>
     </ul>
 </div>
 <center><img src="<?php echo base_url();?>asset/images/news-arrow.png" class="next1" /></center>
<div class="clearfix"></div>
</div>
<div class="clearfix"></div>

<h4 class="font-biru judul-singlepage">Our Product</h4>
<div class="outer-nobg">
	<center><img src="<?php echo base_url();?>asset/images/news-arrow-previous.png" class="previous2" /></center>
	<div id="newsticker-demo2">
     <ul>
		<?php
		if(isset($list_produk)){
		foreach($list_produk as $val){
			if($val['gambar']==""){
				$gambar="default.jpg";
			}else{
				$gambar=$val['gambar'];
			}
			$path_gambar=base_url()."foto_portofolio/".$gambar;
		?>
       <li>
			<div class="news-sidebar">
				<div class="img-news-sidebar">
					<center>
						<img src="<?php echo $path_gambar;?>">
					</center>
				</div>
				<div class="kanan-img-news-sidebar">
					<h4><a href="<?php echo site_url('portofolio/'.$val['slug']);?>"><?php echo $val['judul']?></a></h4>
				</div>
			</div>
       </li>
	   <?php
		}
		}
		?>
     </ul>
 </div>
 <center><img src="<?php echo base_url();?>asset/images/news-arrow.png" class="next2" /></center>
<div class="clearfix"></div>
</div>
<div class="clearfix"></div>
</div>